<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .box{
            width: 100px;
            height: 100px;
            background: red;
            /*过度延迟时间*/
            transition-delay: 1s ,1s,1s;
            /*过度持续时间*/
            transition-duration: 3s,3s,3s;
            /*ease: 匀减速过渡到最终值，默认*/
            /*linear: 匀速过渡到最终值*/
            /*ease-in: 加速过渡到最终值*/
            /*ease-out: 减速过渡到最终值*/
            /*ease-in-out: 先加速，再减速过渡到最终值*/
            transition-timing-function: ease-in;
            transition-property: width, height,background-color; /*过渡样式列表: 宽度，背景色*/
        }
        .box:hover{
            width: 500px; /*宽度*/
            height: 200px; /*高度*/
            background-color: green; /*背景色*/
        }

    </style>
</head>
<body>
<div class="box"></div>
</body>
</html>